package com.chen.wow.day03.scope;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)//多例
public class Notepad {

	public void play(){
		System.out.println("Notepad play...");
	}
}
